package com.seean.easy.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.seean.easy.entity.UserEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author seean
 * @date 2020/09/14 14:00
 */
public interface UserDao extends BaseMapper<UserEntity> {
      //复杂sql或需自定义的sql 创建方式
     List<UserEntity> getUserBySex(@Param("sex") String sex);
}
